package com.neusoft.chanceserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 机会竞争关系表
 * </p>
 *
 * @author liuxp
 * @since 2021-07-13
 */
public class ChanceCompetition implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 机会竞争关系编号
     */
    @TableId(value = "chance_comp_id", type = IdType.AUTO)
    private Integer chanceCompId;

    /**
     * 机会编号
     */
    private Integer chanceId;

    /**
     * 竞争情况编号
     */
    private Integer competitionId;


    public Integer getChanceCompId() {
        return chanceCompId;
    }

    public void setChanceCompId(Integer chanceCompId) {
        this.chanceCompId = chanceCompId;
    }

    public Integer getChanceId() {
        return chanceId;
    }

    public void setChanceId(Integer chanceId) {
        this.chanceId = chanceId;
    }

    public Integer getCompetitionId() {
        return competitionId;
    }

    public void setCompetitionId(Integer competitionId) {
        this.competitionId = competitionId;
    }

    @Override
    public String toString() {
        return "ChanceCompetition{" +
        "chanceCompId=" + chanceCompId +
        ", chanceId=" + chanceId +
        ", competitionId=" + competitionId +
        "}";
    }
}
